package com.meida.module.bus.client.entity.srmapi.psmtosrm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单信息同步
 *
 * @author both
 * @date 2020-09-26
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "importObjectDetail", description = "订单信息同步")
@EqualsAndHashCode(callSuper = false)
@ToString
public class PmsSrm04Detail implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("PMS材料申请计划ID")
    private Long purchaseId;

    @ApiModelProperty("PMS材料申请计划明细ID")
    private Long purchaseDetailsId;

    @ApiModelProperty("分包计划表ID")
    private Long materialPackageIds;

    @ApiModelProperty("分包计划表版本")
    private Integer ver;

    @ApiModelProperty("合同明细ID")
    private Long contractsmatdtlId;

    @ApiModelProperty("合同行号")
    private int contractRowno;

    @ApiModelProperty("采购订单明细ID")
    private Long purchaseOrderDetailId;

    @ApiModelProperty("送货单ID")
    private Long deliveryId;

    @ApiModelProperty("行号")
    private int rowids;

    @ApiModelProperty("送货单细单ID")
    private Long shoppingNoticeDetailId;

    @ApiModelProperty("送货明细行号")
    private Integer shoppingNoticeRowId;

    @ApiModelProperty(value = "wbs")
    private String wbs;

    @ApiModelProperty(value = "物料代码")
    private String materialCode;

    @ApiModelProperty(value = "材料名称")
    private String materialName;

    @ApiModelProperty("删除标识")
    private int deleteFlag;
    @ApiModelProperty("免费标识")
    private int isFree;
    @ApiModelProperty("关闭")
    private int closeFlag;

    @ApiModelProperty("合同变更标识 1 是 0否")
    private int changeFlag;

    @ApiModelProperty(value = "SRM系统订单数量")
    private BigDecimal orderQty;

    @ApiModelProperty("PMS系统下达的合同量")
    private BigDecimal pmsCount;

    @ApiModelProperty("SRM系统录入的实际分包价格")
    private BigDecimal pmsPrice;
}
